package com.ihd.ihardware.view.tzc.health.view;

import android.os.Bundle;

import com.ihd.ihardware.R;
import com.ihd.ihardware.databinding.TargetTwFragmentBinding;
import com.ihd.ihardware.view.tzc.discovery.viewmodel.DiscoveryViewModel;

import cn.wowjoy.commonlibrary.base.BaseFragment;
import cn.wowjoy.commonlibrary.utils.DateUtils;

public class RecordSizeFragment extends BaseFragment<TargetTwFragmentBinding, DiscoveryViewModel> {

    public RecordSizeFragment() {
    }

    public static RecordSizeFragment newInstance(String param1, String param2) {
        RecordSizeFragment fragment = new RecordSizeFragment();
        Bundle args = new Bundle();
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (getArguments() != null) {
        }
    }

    @Override
    protected void onCreateViewLazy(Bundle savedInstanceState) {
        binding.dayTV.setText(DateUtils.getTodayFormat());
    }

    @Override
    protected void onResumeLazy() {
        super.onResumeLazy();
    }

    @Override
    protected int getLayoutId() {
        return R.layout.target_tw_fragment;
    }

    @Override
    protected Class getViewModelClass() {
        return DiscoveryViewModel.class;
    }
}
